<template>
  <el-input
    type="textarea"
    autosize
    placeholder="请输入内容"
    v-model="message"
  >
  </el-input>
</template>

<script>
import { configReq } from "../api/req";
export default {
  //<p style="white-space: pre-wrap" v-html="message"></p>
  data() {
    let obj = {
      message: "hello world",
    };
    return obj;
  },

  created() {
    configReq().then((res) => {
      res = JSON.stringify(res, null, 2);
      this.message = res;
    });
  },
};
</script>